package com.zw.yzk.kabu.internal.component;

import android.content.Context;

import com.zw.yzk.kabu.base.BaseApplication;
import com.zw.yzk.kabu.domain.executor.ExecutionThread;
import com.zw.yzk.kabu.domain.executor.ThreadExecutor;
import com.zw.yzk.kabu.internal.module.ApplicationModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by zhanwei on 2016/12/23.
 */
@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {
    void inject(BaseApplication application);
    Context context();
    ExecutionThread executionThread();
    ThreadExecutor threadExecutor();
}
